html{
  --back:#222222c4;
  --cback:#414141c4;
  --border:#8e8e8e5d;
  --font:#e3e3e3;
  --main:#0088ff;
  --main-hover:#0066ff;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: var(--back);
  color: var(--font);
}
.hello-text {
  text-align: center;
}

.main {
  display: flex;
  width: 100%;
  height: calc(100% - 40px);
  gap: 10px;
  padding: 16px;
  line-height: 1;
  box-sizing: border-box;
}

h3 {
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.ws,
.es,
.auth {
  border: 1px solid var(--border);
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
}

.ws-input,
#api-url {
  flex: 1;
}

.msg-list {
  flex: 1;
  border: 1px solid var(--border);
  margin: 10px 0;
  padding: 10px;
  line-height: 1.5;
  color: var(--font);
  white-space: pre-line;
  overflow: auto;
}

.login {
  margin: 20px 0;
}

.login-box {
  margin: 10px 0;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

button,
textarea,
input[type="text"],
input[type="password"],
select {
  background-color: var(--cback);
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  outline: none;
  font-size: 16px;
  line-height: 1;
  box-sizing: border-box;
  color: var(--font);
}

textarea {
  width: 100%;
  margin-top: 10px;
}

select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

input:hover,
input:focus {
  border-color: var(--main);
  z-index: 1;
}

button {
  background-color: var(--main);
  border-color: var(--main);
  color: var(--font);
}

button:hover {
  background-color: var(--main-hover);
}

button:disabled {
  background-color: #ccc;
  border-color: #ccc;
}

#api-result,
.login-result,
.upload-result,
.api-request {
  white-space: pre-wrap;
  background-color: var(--cback);
  border: 1px solid var(--border);
  border-radius: 5px;
  min-height: 50px;
  margin-top: 10px;
  padding: 10px;
  box-sizing: border-box;
  color: #a3a3a3;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
}


.space-box {
  display: flex;
  margin-top: 10px;
}

.space-box :not(:first-child):not(:last-child) {
  border-radius: 0;
  margin-left: -1px;
}

.space-box :first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}


.space-box :last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}